package com.bosssoft.user.permission.center.serve.service;

import cn.hutool.core.lang.tree.Tree;
import com.bosssoft.user.permission.center.serve.pojo.dto.ResourceDTO;
import com.bosssoft.user.permission.center.serve.pojo.query.ResourceQuery;


import java.util.List;
import java.util.Map;

/**
 * <p>
 * 资源 服务类
 * </p>
 *
 * @author gqx
 * @since 2024-06-06
 */

public interface ResourceService {

    int create(ResourceDTO dto);
    boolean deleteById(List<Long> idList);

    int updateById(ResourceDTO dto);

    PageResult pageQuery(ResourceQuery queryDTO);


    Map<String, String> getSubsystemList();


    List<String> getMeau();

    List<Tree<String>> getTree();

    Map<String, Long> getAllParent();

    int copyList(List<Long> idList);

}
